﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddClasses.aspx.cs" Inherits="Web.admin.BasicManage.Classes.AddClasses" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../js/function.js" type="text/javascript"></script>
    <script src="../../js/WebCalendar.js" type="text/javascript"></script>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript">
        function CheckEmpty() {
            if ($(".class5").val == "") {
                alert("班级名称为必填项，不允许为空");
                return false;
            }
            else if ($(".class6").val == "") {
                alert("班级号为必填项，不允许为空");
                return false;
            }
            else
                return true;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img  alt=""; src="../../images/main_hl.gif" /></td>
                        <td ><img alt=""; src="../../images/main_hl2.gif" /></td>
                        <td class="topNav"><span>班级管理</span></td>
                        <td><img alt=""; src="../../images/main_hr.gif" /></td>
                    </tr>
                </table>
        </div>
    </div>
     <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation"><span>首页&gt;基础数据管理&gt;班级管理; </span>
            <div style="float:right; margin-right:5px;">
                    <a href="CLA_List.aspx">返回班级列表>></a>
                </div>
            </div>
            <div class="submitTable">
                <table>
                    <tr>
                        <th>班级名称</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxName" CssClass="class5" runat="server"></asp:TextBox>
                            <label>*</label>
                            <input type="hidden" id="CLAIDBOX" value="" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <th>班级号</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxCode" CssClass="class6" runat="server"></asp:TextBox> 
                            <label>*</label>                           
                        </td>
                    </tr>
                    <tr>
                        <th>班级简称</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxShort" runat="server"></asp:TextBox>                            
                        </td>
                    </tr>
                    <tr>
                        <th>班级英文名称</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxEnName" runat="server"></asp:TextBox>                            
                        </td>
                    </tr>
                    <tr>
                        <th>学制类型</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxSYSTYPE" runat="server"></asp:TextBox>                            
                        </td>
                    </tr>
                    <tr>
                        <th>学生人数</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxSTUNUM" runat="server"></asp:TextBox>                            
                        </td>
                    </tr>
                   <tr>
                        <th>年级</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxGRADE" runat="server"></asp:TextBox>                            
                        </td>
                    </tr>
                    <tr>
                        <th>入学日期</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxINDATE" onclick="SelectDate(this,'yyyy-MM-dd hh:mm')"  runat="server"></asp:TextBox>                            
                        </td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td align="left">
                            <asp:TextBox ID="TextBoxRemark" runat="server"></asp:TextBox>                            
                        </td>
                    </tr>
                    <tr>
                        <th>专业</th>
                        <td align="left">
                            <asp:DropDownList ID="MajorList"  runat="server" Width="155px">
                                
                            </asp:DropDownList>                           
                        </td>
                    </tr>    
                    <tr>
                        <th>所属校区</th>
                        <td align="left">
                            <asp:DropDownList ID="localList"  runat="server" Width="155px">
                                
                            </asp:DropDownList>                           
                        </td>
                    </tr>     
                   <tr>
                        <th>所属学院</th>
                        <td align="left">
                            <asp:DropDownList ID="ACA_List"  runat="server" Width="155px">
                                
                            </asp:DropDownList>                           
                        </td>
                    </tr>                 
                    <tr>
                        <td></td>
                        <td align="left">
                            <asp:Button ID="ButtonOK" OnClientClick="return CheckEmpty();"  CssClass="btn_reset" runat="server" Text="保存" onclick="ButtonOK_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
     </div>
    </form>
</body>
</html>
